package com.ming.transaction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈仕健
 * @since 2023-05-14
 */

@Data
@TableName("tt_order")
@ApiModel(value = "Order对象", description = "")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单编号")
    private String orderId;

    @ApiModelProperty("购买者")
    private String buyNumber;

    @ApiModelProperty("销售者")
    private String sallNumber;

    @ApiModelProperty("商品ID")
    private Integer goodsId;

    @ApiModelProperty("交易价格")
    private Integer orderPrice;

    @ApiModelProperty("交易数量")
    private Integer orderNumber;

    @ApiModelProperty("交易地址")
    private String orderAddress;

    @ApiModelProperty("购买时间")
    private LocalDateTime createTime;

    @ApiModelProperty("支付状态")
    private String orderPaystatus;


}
